No Login Screen after deleting an Entity

I had new Zigbee switch installed and noticed there were two Entities for it after I changed it’s name so I deleted one of them.
On reboot the sign in screen is no longer. I can access HA via file manager as before but I can not figure out what has happened.
Hopefully someone can help to sort this out??

Here is the log file:-

2019-09-01 08:17:28 ERROR (SyncWorker_2) [homeassistant.util.json] Could not parse JSON content: /config/.storage/core.entity_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/json.py", line 31, in load_json
    return json.loads(fdesc.read())  # type: ignore
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 157 column 9 (char 6391)
2019-09-01 08:17:28 ERROR (MainThread) [homeassistant.core] Error doing job: _GatheringFuture exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/json.py", line 31, in load_json
    return json.loads(fdesc.read())  # type: ignore
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 157 column 9 (char 6391)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 383, in async_get_registry
    await reg.async_load()
  File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 320, in async_load
    old_conf_migrate_func=_async_migrate,
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 45, in async_migrator
    return await store.async_load()
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 98, in async_load
    return await self._load_task
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 111, in _async_load
    json_util.load_json, self.path
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/util/json.py", line 37, in load_json
    raise HomeAssistantError(error)
homeassistant.exceptions.HomeAssistantError: Expecting value: line 157 column 9 (char 6391)
2019-09-01 08:17:29 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=24 from 2019-08-31 21:55:23.220943)
2019-09-01 08:17:40 WARNING (MainThread) [homeassistant.setup] Setup of person is taking over 10 seconds.
2019-09-01 08:17:44 WARNING (MainThread) [homeassistant.components.weather] Setup of platform met is taking over 10 seconds.
2019-09-01 08:17:45 WARNING (MainThread) [homeassistant.setup] Setup of cloud is taking over 10 seconds.
2019-09-01 08:17:46 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform updater is taking over 10 seconds.
2019-09-01 08:17:47 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform kodi is taking over 10 seconds.
2019-09-01 08:17:47 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform hue is taking over 10 seconds.
2019-09-01 08:17:47 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2019-09-01 08:17:47 WARNING (MainThread) [homeassistant.components.light] Setup of platform hue is taking over 10 seconds.

Is there anyone out there who can help???

Or do I have to start over and reload HA??