How does this class get integrated with AuthComponent?