added debug statements to oauth controller