Added check for confirm password