refactor home.js.coffee and have user.num_credits display in header on home page when signed in