User table search and detail table template