Add client-side functionality in client.html

client.html is an HTML5 document which uses jQuery and AJAX to process
and view login results.