Move location change to sessions.js in assets