public function login($service, $config = array())
    {
        $config = new AnConfig($config);

        $config->append(array(
            'html' => $this->icon($service),
            'url' => $this->url($service),
            'attributes' => array(),
        ));

        $html = $this->getService('com:base.template.helper.html');

        $link = $html->link($config->html, $config->url, $config->attributes)
                     ->class('btn btn-'.$service)
                     ->dataTrigger('PostLink')
                     ->title($service);

        return $link;
    }