submit login info by keyboard