added modularity with logging creating a LogIn Class with method to do logIn. also have tab login now working as well