Update xeroaccess.php

Updated Response function , fixed a bunch of code errors