register changed to work as static form and added services callbackUrl