change login redirect rule