Implement sign-in and sign-out mechanisms