refactored confirm password php and minor html changes