I have a wordpress multisite that is a subdomain setup. Users will logon to the main site
site.com/login
which is a front end login form.
In the functio