seriously, why are we trimming any of these values? does any other web service trim spaces on input parameters? isn't <space> a valid value in a password meaning you made anyone with a password at the start/end of their password unable to log in?.. please let's lose the trimming?