added handlers to handle lookup pages