setting up authentication decorators [ci skip]