adding for auto authentication