get id from router