Node Js changes.
Adds login method. (NOT WORKING YET!!!)