moving login_status helper to authenticated system