Allows you to register a player and set his email

This modification allows you to register a player set his email address. 

This modification is also backward compatible for those who are using just 2 parameters (username, password)