Added connectivity to Register Button