finish 5.   need to make a decision on authentication.