Some work done for ajax. Does'nt work at all... need to find proper way to ajaxifize request.