added ajax function, ajax urls, controllers to form new recipes