login mode and user status mode complete