Added hooks for auth based visibility