Adding recently viewed profiles pages functionality to home page