base level ujs stuff so that we can sign out