Fix authorized? method
Merge pull request #4 from dbachet/fix_authorized_method

Fix authorized? method