Add server logout functionality to account class

pull request to merge 'exit_server' function to 'account' class.