Added logic for keeping an access_token and expiring an access_token