Added API authentication