login checking for IE8