add directive to check if the password is equal before signup