Form using websockets and server side validation