read from stdin explicitly, will figure out what does <> do exactly later.
dump cookie when sign is all done