Index updated view and template

Now the view is tailor made for the Student when getting logged in and
with bars!

Also qubal_xp has been updated with some new functions