Added password verification with hash