add validations for Book model
add :author_id indexes for books table