fixed error on pages table and added search functionality
fixed notice in ClientUser