fix logging in.