Adding new session listeners and variables for image status