add function: warningwhen the time of admin login