Added static pages and redirected root to main home page when not logged in