Fixed logic with setting userLocale