Added password verification along with user verification.