Add data handler to home partial