Adding edit links etc