Moved to Sailsjs and added basic login feature