move account email verification stuff to dashboard.js, because it should be on the template that '/' routes too
implemented getTestGroupByName function