modified the session object to be work more like the Facebook API with callbacks and stuff