adjusted the authorization process