Remove auth function