step 1 for ajax call work.