fix loading reference user proof
refactor image/edit link for proof into a helper
moving logic and attach proof link to a helper