added logout on exit, maybe upgraded comunicator