set up mongoose match schema