Added the API endpoints for the users.