fixed stupid login redirect