adding the redirection to the show page for the newly created widget
Adding retrieval of input data in order to replace hard coded sent wedget