Minor changes

changed e-mail invitation form to be AJAX.
added e-mail validation