move server.js to root & write test code on userController

restruct package,
write test code on userController