now adds books to database