added and debugged remove item function

remove item function now works and has been added to hope page and item
page. Error messages still need to be implemented