loading / unloading of private data on login / logout.  fixed stm delete functions