Added authenticate with token and API module