refactoring user admin forms and validation