Call some functions only when signed in