Added passport authentication as described https://github.com/RelativeMedia/sails-PassportLocalMongoExample
Cleaned up code in MainController.js
Merge pull request #20 from RonSalmon/master

Integrated passport local strategy. Thanks @RonSalmon!