Changes to UserController
Authentication