added book to database