fix the bug of authentication in the school