fix user add and edit controller