add index and detail frontend-action