added logout scenario