Fixed location type in event schema
Fixed lastfm field in event schema
Properly closing MongoDB connection