Add specific route to handle widget creation based on type