saving oauth credentials in a seperate object