Adding view and edit links