Why do you introduce this method? Use REST authentication.