fix of authentication