Setup logic to call login process