Added serial interface. Basic login implemented.