Added debuggings and 2xx status code not just 200