a simple password verification to check if two passwords match