added API endpoints for profile pages and took out methoids I was not using