Fixes #16, also fix leading/trailing whitespace in usernames