Added logout ability.