make middleware.project understand the new user.projects schema