city should be city_id
file manager and form validation