got session and application history to work