show profile if user has been logged in