Added password confirmation for logging in users