Hernandez gets council backing to serve as city's next mayor