def get_current_profile(self): user = self.auth.get_user_by_session() if user: return Profile.get_by_auth_user_id(user['user_id'])