User endpoints

Long-running pull request to track progress on the `user-endpoints` branch.