adding changes to validation to account.jsp