implement secret discovery on main page