changed the router to go to batches/id
got the link to batch pages working