You're feeling left out cause he talks online to friends in chat. You need to make him aware that he needs pay attention to you and you're basically tired of feeling neglected by him. You need to monitor how long he spends time with you compare to his online friends.
I'll tell ya a trick! Hide your husbands gadget on which he chats, then when he panics, calm him down and tell him your problem expressing your feelings nicely! And all will be good!