added validation to account settings