added destroyToken and logoutAndDestroyToken functions