Corrected some JSLint problems
Corrected JS errors
Fixed error when user first not logged in, also added .save()
Experimenting with underscore templates