altering authtentication method