add offline check and alarm user