Add method for getting access token