frontend class index & detail view