Add API authentication logic, authentication method stubs