Here I am using Facebook Login button plugin and javascript sdk
I am able to successfully login and logout by using above.
There's a hole in that solution -- this means the user can make up any information he wants and post an XHR back to my server. The server is going to need to check with Facebook directly.