Add api endpoint for user data.
Merge branch 'feature/ownerships-frontend-bugfix'