params are not being directed to the right controller