You should provide whatever error message you get. "I can't log in" doesn't really narrow it down very much!
But also, do you own the Steam version? Sounds like you own the Xbox version. You gotta buy it separately on each platform you want to play it on.