Setting up file for pulling session data into JS