Prevent players with invalid characters on their name from joining servers

Added a check for invalid characters on playername

Changed Regex pattern

Now it will allow underscores and spaces.