add public method to store access token