Add logout. closes #26