Fixes: 1) Remove 'recently_viewed' ManyToManyField from User model and related migration; 2) Correct handling of product addition in 'recently_viewed' logic.
Extra: Refactor 'recently_viewed' to use cache instead of database field; cleanup unused imports and model attributes.