Login example with nodejs, express, swig and mongoDB