Fixed dashboard showing wrong info. Should've count from Student, not User
Fixed autofocus not working if the page comes from clicking a link. Refs https://github.com/rails/turbolinks/issues/365