updated exception logging
fixed email validation