I think probably an iframe would be the thing for redirection problem, then the URL could also be showed in a header or footer. And I think that a specially constructed query that automatically logs the user into the specified npub with the intended group of follows, this would probably be done with a small http fetch, though if it can be constructed as a URL path, that is easier to do, where the form fields are in the URL.