properly handle user profiles