A complete application with Facebook login and a tutorial