updated success and fail pages