save product images to database: remove obsolete logouts