Observations of solar and magnetospheric inputs and atmospheric responses to the January 2005 long duration flares and fast coronal mass ejections