Refactor forms.py to registration.py