added a logout button.  Works, but throws XHR error.  Best put in PHP file.