adding ajax loader
adding templates