Implemented controller to manage users.