added request handler for pages:

    made a new request handler that for routes /pages/(*.)
    it only allows users to get pages, not post or put to them.

    it resturnse the datastructure for pages