start db integrating

integrating db to webpages, start need to test before continue