added session and parameter methods