I kept this code here because UiSessionContest doesn't expose setSessionLocation for me to be able to use in the LoginPageController in reference application module