Additional functionality for the UsersController and adding documentation.