making email required again and using new hash syntax