fixes in worker
Roles exception was added
remove obsolete methods
worker fixes
worker fixes