added debug statement to oauth controller