Create authenticate(hook)