Modified it so that we have some json respond from the server