major changes for authmethods