Create endpoint for registration.
Clean up and fix RegistrationView.
Set token and redirect to home on successful registration.
Fix logout view.