added network connectivity check on login
resolve merge conflict IAN CREATED