Adds logout ability.