Fixed password setting code (before update).
Added product entity.