add main methods from api, add updating access token