separated ajax button functions into their own controller
added ajax controller