Update views.py

fix redirect in login so that a successful login attempt redirects to the original page the user was trying to access (that required a login)