takes care of database integration, create and view samples page, and reading data from database into samples table