Fixed Variable Scopes in Users Controller.