add hitcount to pages. fix permissions check on pages#show
show pictures in page_show permalink