added controller to handle ajax adding item