fixed a view error on new e-mail
implemented companies and basic validation