add check online status to send message