adding logout capability