adds id var to get route