Changes made in validation of registration and login page