Facebook Login

The login button works, but I'm a little unclear as to how to make the events hookup.

what I want to do is when the user logs in to have it send back the facebook info (token, user id etc) and such, as well as hide the facebook button, but I haven't quite figured  it out. 

Can you please take a look and tell me what I am missing?