Working to implement oauth