ajax validation for login and changed maxlength of signup username and password to 20