added file size and type restrictions for image upload
deleted uploaded files