updated jshint config
jshint updates
added basics for local login/register, some other updates to views mostly, DRYed up app controller, added user controller and view