refactored code to attatch items to DB. Javascript in the end dictates the remove button to alert window for delete varification.