updated for user profiles