修复登录，完成数据类的重构

Signed-off-by: Meathill <meathill@gmail.com>