initial update to use oauth flow