Created users_controller and refactored views and controllers