added book validations to have name and pages must be <0