fixed routing issue, added view record button