Fixed the addRole part with both javascript, facade and httpserver.