Added utility methods to help with authorization