modified input name
basic code to add items to the database