Complete sign-in-out core functionality