added database upload for saving images. For now the save button still uses personID !