added login redirect setting