fix the user add and edit pages