Move session related config to a separate file