add login, face a problem ref link: http://goo.gl/zfwGd7