adjusting to support oauth