Trying to get oauth working correctly