Implemented Upload image functionality