Changed register POST to GET to get around CORS issue