add book to database