pg setup + bootstrap + pagination