Adding widget endpoint