Working Server/Client

functional server-side and client-side. minor edits to html.