use referer to redirect to if http method is GET fix #3