Made some tweaks in home/views.py
Made some tweaks in home/views.py

- Removes unnecessary hits to the database if the user is not logged in.
- If the no of questions is zero there is division error. I have fixed
that.

uniqna/uniqna,uniqna/uniqna,jeremyphilemon/uniqna,uniqna/uniqna,jeremyphilemon/uniqna,jeremyphilemon/uniqna