fixed an error in the ApplicationController.
added the two actions in the UsersController