model now connected to mongo