add edit link for logged in users