I am logged in to my account, the WiFi works, but it keeps saying I am offline
What version are you using? (bottom left corner of the screen)
It might be that the device time settings is wrong. You can try checking that your system time settings is set to “automatically set time”. Then restart the game and select Change Profile.