Tab directive and auth setup