Added in Ajax + JSON transfer of data from front to back end