login page validation fix