Added email validation, minor autocomplete improvements