Sample webapp login using maven and js