avoid white spaces in email or username strings