improve details page
finished the crud interface