fixed

no longer crashes the entire app if the url is not right on register, but calls the error callback