Fix broken endpoint for profile