Added a check to see if current user is still active on authorize endpoint