factoring out css and show success page again