user input form works and correctly adds to database for books