adding ui to chess webapp