reference script
separate state for detail for now
get detail from id - pass id to route for now. prefer `/profile/:name`