now displaying locals and reconnected when the page gets reloaded