Added edit link for those logged in with pages permission.