Track params across all router handlers. The current code overwrites the params