better error handling on the server. success == 0 = the way to go. usually you dont get an err.. for some reason