Add ability to set active session from url