add pill detail page