added logout