Replaced all occurences of userId and sessionId by user_id and session_id, repectively.