clean up code, use socket api for nicknames instead of object