kind of working - adding extra signals an logingin to tty properly - still buggy though