More Clean Up + UserNames

code has been formatted, user names work now but the same name can be
used more than once at present

Foundation for future works set out using codes that represent tasks
that the server or client should respond to