middle of routing from controller
got js redirect to work