http://geekswithblogs.net/ptahiliani/archive/2013/08/23/facebook-login-authentication-example.aspx