index and show pages for user