Add logIn, logOut to if/else