Im getting Cannot read properties of undefined (reading 'findUnique') error when using authentication with mongodb or postgress

I’m kind of new so this error baffles me. I initiated a new project added a little code and initiated the dbAuth module but it doesn’t work.
here is my code GitHub - kristiyan-ASW-G-08/legends-of-the-secret-library

Doesn’t look like there is any migration file in this repo. you probably need to run yarn rw prisma migrate dev. Without user table prisma does not have a user property

Ok, Didnt know i needed migrations with mongo,