Refactor UsersController#new (controller and view)

Moved logic from the view to the controller.
This should probably be based on current_user == nil as well