Add sign-in-out functionality