implement the hails index page