Implemented token-based authentication API base