Api basic index action implemented