fixing managerial redirect on login