add save functionality also with AJAX on every page #thdne