Updated router behaviour to accept query params and enhanced the controller action lookup