Hide homepage functionality behind debug flag