added a displayDetails page