Facebook login on loginportet

I have defined a facebok login action ‘actionfblogin’ in UserController which calls associated functions like fbregister in UserController (also). The Facebook connect button appears in the /user/fblogin page. Now if I want the same thing to be rendered in the login portlet on top, how can I include it?

I just want the same action as when I go to /user/fblogin to be replicated on the top bar.