Added SettingsView, Form and refactored a bit of the registration code.