implemented adding items and adding images