fixed login redirect bug