modified login router