new users controller and refactoring of controllers