remove unnecessary codes on auth