got a /session/username route set up to send the username to the client following an ajax request. now I just have to write the handler on the other side.