more validation, some email stuff set up