Resolution of Issue #11 the implementation of method isAuthorized

### The merge will be executed but it is still mandatory to make tests