Add some controller helpers for handling subdomain restrictions