Logout

Function:

 * void logout

Parameters:

 * none.

Return value:

 * This function does not return any value.

Description:

 * This function will wait until player can logout and will logout player from the game.