#login: [Haidong Zhang & ] - add login validate