[login function] This commit include a login action under UserController.
ToDo: Have to change the route setting to make all request go to login page.