refactored project for using events
added deletion books/authors with AJAX request; validation on book's authors list