added mongoose
added passport authentication.