add logind support