Update views.py

We should never thrust user so another check must be done