added logout class