fixed the problem that occured if people registered without a username