deleted stuff and added crud functionality to views