Moved auth out of main file + cleaned up some of the request token code