Networks status listeners.

Auto-reconnect when network connection is established.
Login status still needs to be fixed

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>