Added book info to database