Auth working with mongoose.