Fixed "Login with the same nickname"

+ added trim to all client input