Updated session.js to fetch data from metastore
Fixed merge conflicts