Fix adding an item when logged in