adds interaction for POST request and redirection after capturing credentials