created mongoose schema