index revised to format specs of DB
sidebar created and pages updated to accept change