remove auth method associated code