Getting set up for all of the session listeners and things