added is_logged_in attr to session