add viewDetial usercontrol and refactoring in data base