added view all, added links, implemented edit as specified