User deletion code

This does a bit more cleanup than just removing library data.