Adding more ajax stuff for fetching data.