REST API endpoints for users

Use the REST API to get public and private information about authenticated users.