redirect to add home page when add a new data successfully