Checking if the passwords match or not