rules for book entity

- null author exception
- null title exception