Update views.py

Simplified registration view