Added edit links on contacts page, but only where allowed