Log in and out on a printer