corrected authentication/views.py

register was not redirecting to index