Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL. In this patch removed the use of "userLogin". Thanks Arun for the contribution.