bug redirect login