strip whitespace from userid