properly handling get responses to index action