modify addPhoto servlet to get value from ui