Code reformating and small bugfixes
Usernames now have to be unique