Niners are back in the NFL championship game