fix user endpoint; hook up action to details button