comparing that the two passwords are the same