Conditional statement to check if the confirm password and password are the same