added logout, communication capability