Add authorization mechanism