Added Flash message in the index action
adding flash messages in the Controllers