invite button show hide logic improved, accept only emails