'basic sign-in/out implementation'