handle not_logged_in status