insert codes in function doLogin

delete codes for check id and pw validity.