fix authentication;