Made add and delete for resurces in UI