added ajax almost to every action