fix bug:
trasit main page after login on standalone mode