Add API authentication machanism