[51] Making Ajax Endpoint the proper way