removed checkAuthorization