Upfront and Facebook Login

Please see http://scrapsart.com/account/

The Login via Facebook used to be a button which would let you login - not working anymore.

--

Also used to have a logout/register option. I know the code needs to be changed...will appreciate it if you can tell me the change:

add_filter( 'lpto_custom_header' , 'lpto_add_register_button' );
function lpto_add_register_button( $content ) {
	$output = '';

	if ( is_user_logged_in() ) {
		$output = '<li><a href="'.wp_logout_url('home').'">Logout</a></li>';
	} else {
		$output = '<li><a href="'.get_site_url().'/register">Register</a></li>';
	}

	return $output . $content;
}