redirect() method is added into controllers