add project model and auth middlewares