integrating Facebook login with server