Fixed a bug and gamelogic

Scores where submitted bevore the check if a name is set