exploring how foreign-key relations work in mongoose