added the override authentication methods and username whitelist stuff