Separate common code from category views and create login personalization for users