Update controller for ingredient and homepage to add new item-function is not completely working