fixing error, updating lobby

fixed an error with hosting. cookies not being set as expected so had to
change some functions.
lobby has been fixed to stop the flickering occuring. also you can no
longer have the same username as someone else.