Learning Mongoose and terminal input