befroe starting user authentication