reading settings.JSON, checking if logged is true, will read the settings file, else will alert no user