added logged in and logged out callbacks to configuration options

Hey, what do you think about this, or something similar?  Just added a few callback options to the configuration that get called when a user logs in or out using the api.