When the user becomes connected, get cookies for servers and show corresponding layers