index page connected to DB