How do I log out of the game

Need someone to give me some info to find the basics vas how to log out of the game at night then log back in the a.m.

Currently I just log out of my internet server then get back in at the morning nay to be disconnected from the ants server. Suggestions. Helpful information? Both would be appreciated

Normally you are automatically log out of the game when you close the game application on your phone and automatically log in when you open the game APP.