Added HTML, updated server and client JS

Added HTML, set out structure of HTML, added more to the client side
common and main. Added some basics to the server for getting basic info,
sign in page etc.