added edit and history links