removing leading and trailing whitespace when users type in their email address