fix bug redirection and Request in FrontController