Fixed some registration routes. added email confirmation for new registrations.