Added user API endpoint for serving out data to profile pages