debug login, delete useless default template, atom is the default template
prepare printer module