created store index controller