pages to handle searching the database