write mongoose user auth sample.