added changes to disable login on serial and debug on seriel