changed re-direction and added edit link