Added getter for configuration on session class

Added configuration getter so metadata about a session can be fetched