controller now populates book view with validation errors