seperate logout function between networks.