added remove entry button and codes