improve front-end servlet

next version, that is using AJAX so the current page will be updated.