add mobile connection detection