adding auth directory code to follow.