renamed file
outsourced oauth functions
moved whole login process to file
moved login process