added state for homepage, implemented simple header and footer