Logic for user profile laid out