client side Facebook login with popup