Switch from mongodb and when to mongoose