改进登录模块

Change-Id: I0536f7a1f4b217a88ebab53b80f358ef19b2082f