Refactoring new and edit user views