complete logout with cookie and admin template