first ajax request, added templates