Move affiliate registration notification to the emails class. #243
rename insert actions in db classes. They were conflicting
Rework registration process a little to pass user data directly. Closes #243