added POST request and redirection