Updated system settings for path to images dir and files dir.
Changed destination folder for images to id of first resource group, to which user has access.