first attempt at rendering view with db content