added log to MWAPIDao
issue 274 role management