cleaned statistics dao dependencies
more efficient user removal
Fixed #36: Incorrect removal of friends