make getAccessToken(code: String) accessible