router url params goes into callback function