i just made changes to My_controller as the redirection was given error