fixing displaying of errors if settings are missing
fix display error if user settings are missing
fix wrong path to user settings
fix wrong if else in template