add nickname on client; minor improvements