make mongoose global on server, starting to split charts/users apart (in progress)