Add validation for index resource

The index resource now checks that the required form parameters are
present