fixing error with super admin login caused by new redirect feature