refactoring validations of users
creation of the controller and views of the User, set the log app and create home