check email
Better error handler, better error messages.