added req.isAuthenticated if passport dont set it
update version
fix username variable and add User to .jshint predefs
update code style