Improving "Session ID is null" error message