update on .jshint files
added grunt jshint task
fix logged in user change to work well with page reload after login