getting mongoose to work