#13 partial logic for registration with unique email validation