removed unused code in auth class