updated with bootstrap and pages controller