set app context
fixed login redirect url error