renamed all sessionId parameters to sessionid for consistency