Added parameters to the Router and tested the functionality