the function of register is nearly finished. But I need to add sessions into this project, will check the updates from express 3.0x to express 4.0x