AJAX barely functioning for signout on root page.