Trying to solve problem with OAuth