implemented host-wide login for other front ends utilizing referrer