catch the ConnectionError exception. support to remember sign in