Moved home indexAction queries into PostRepository