Facebook login redirection and another way to echo login/register button instead widget

Hi everyone!

Two questions, if anyone could help me.

1) Is there some way to redirect user after login via Facebook to the same page request?

2) Is there some function to echo the login/register button instead of using Facebook Connect widget?

Thanks for advance