changing login check