[TASK] Adding initial ajax functionality