[vote] fix bug if not logged