Adds a logout command to the end of the script