add new and edit function
modify index page style
merge index page code