adds ajax call
adds proper link_tag in form, refactored ajax callback, sent in proper parameters to ajax request