added show and index action on visits controller