Resolution of Issue #9 the implementation of method isAuthorized