messing with login logic