add user's email validation

close issue #3