Cleaned and commented accounts/views.py