Usually the problem is folks don't realize it's not enough to be logged on; you both have to be logged on to the live server at the same time. Anyway here's the article. Live is covered in the second part:
https://support.chess.com/customer/portal/articles/1444882
How do I play live chess? Trying to play with a friend that has the app but it says they aren't online. Is it a setting?