used inventory user and key defined in settings, closes #196