made changes to oauth complete url route
removed dup code