Added additional form, split two forms into user registration and email composition.
Re-added debug code.