Saving and deleting from database

working up to this point