fix the wrong login redirect view