module.fail_json(msg='Unable to add or update user, check login_user and login_password are correct and that this user has access to the admin collection')
elifstate=='absent':
ifuser_remove(client,db_name,user)isnotTrue:
module.fail_json(msg='Unable to remove user, check login_user and login_password are correct and that this user has access to the admin collection')