logging for add_user tool
fixed the display of the error message
check user role