updated database structure
persisting userProducts to database