Clean up user data

The proposed patch cleans buffers and settings belonging to the deleted user.