added logout methods