POST books to database