Layout and dummy login

A basic layout and
a few AJAX functions created.
Servlet handles POST requests and
sends 'echo'-like responses.