logging for profile page