add more comments
fix outdated doc comments for getFriends
removed unused mongoose require & moved mongoose to dev deps