first pass at log out message
fails gracefully but needs cleaning
comment fix; script begun cleaning
cleaner