adding logout
Merge pull request #2 from helenhe/cso

adding logout