added support for assignee, fixed security and added support for messagehandler