code for displaying confirm page removed.