add validations and error message to pairs in userentry