added logout option